package rlyy.framework.core.common.exception;

import rlyy.framework.core.common.enums.ExceptionEnum;

/**
 * 缺少参数异常信息
 * @author yuanqinglong
 * @since 2020/7/13 10:22
 */
public class ArgsMissingException extends BaseRuntimeException {

    private static final long serialVersionUID = 4992571716994095554L;

    public ArgsMissingException() {
        super();
    }

    /**
     * 传入枚举类定义的异常信息
     * @param msg 异常信息
     */
    public ArgsMissingException(ExceptionEnum msg){
        super(msg);
    }

    public ArgsMissingException(String msg) {
        super(msg);
    }

    public ArgsMissingException(String message, Throwable cause) {
        super(message, cause);
    }

    public ArgsMissingException(Throwable cause) {
        super(cause);
    }

    public ArgsMissingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
